package com.cskaoyan.utils.ad;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
@ConfigurationProperties(prefix = "ban")
@PropertySource(value = {"classpath:application_banWords.properties"},encoding = "utf-8")
public class Ban {
    List<String> words;
}
